package com.seafwg.domain;

import lombok.Data;

import java.util.List;

/**
 * @Author seafwg
 * @Date 2022/3/4 2:14 下午
 * @Version 1.0
 * @description 用户pojo类
 */
@Data
public class User {
    private Long id;
    private String username;
    private String email;
    private String password;
    private String phoneNum;

    // 当前用户具备那些角色
    private List<Role> roles;
}
